You can specify the resources like device ports, VLAN range, L2 VNI range, L3 VNI range, and VRF count when you create a tenant.
Follow this procedure to set up a logical construct called tenant.
For syntax and command examples, see the ExtremeCloud Orchestrator Command Reference, 3.6.0 .
efa tenant create --name <tenant-name> --description <tenant-description> --l2-vni-range <value> --l3-vni-range <value> -- vlan-range <value> --vrf-count <value> --enable-bd –port <list-of-ports>
(efa:extreme)extreme@node-1:~$ efa tenant create --name tenant11 --l2-vni-range 10002-14190 --l3-vni-range 14191-14200 --vlan-range 2-4090 --vrf-count 10 --port 10.20.216.15[0/11-20],10.20.216.16[0/11-20] --description Subscriber1 Tenant created successfully. --- Time Elapsed: 455.141597ms ---
(efa:extreme)extreme@node-1:~$ efa tenant create --name tenant21 --l2-vni-range 30002-34190 --l3-vni-range 34191-34200 --vlan-range 2-4090 --vrf-count 10 --enable-bd --port 10.20.216.15[0/21-28],10.20.216.16[0/21-28] Tenant created successfully. --- Time Elapsed: 501.176996ms ---
(efa:extreme)extreme@node-1:~$ efa tenant create --name tenant12 --vlan-range 2-100 --vrf-count 10 --port 10.20.216.103[0/1-10],10.20.216.104[0/1-5,0/6:1-4] Tenant created successfully. --- Time Elapsed: 427.73527ms ---
(efa:extreme)extreme@node-1:~$ efa tenant create --name ST --type shared --port 10.20.216.15[0/1-10],10.20.216.16[0/1-10] Tenant created successfully. --- Time Elapsed: 381.182892ms ---